// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import iView from 'iview';
import VueResource from 'vue-resource';
import App from './App'
import router from './router'
import 'iview/dist/styles/iview.css'
import jquery from "jquery";
window.$ = jquery;
// import filters from "./common/filter"

Vue.config.productionTip = false

Vue.use(VueResource);
Vue.use(iView);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})


// Object.keys(filters).forEach(key => {//返回filters对象中属性名组成的数组
//   Vue.filter(key, filters[key])
// })
